<?php
#基础函数
include_once('_path.php');

#db
include_once(_CONST_LOCAL_INCLUDE_PATH."database.class.php");
$database = new Database($db_vars);

if ($db_slave_vars['hostname'] != '') {
	$slave = new Database($db_slave_vars);
} else {
	$slave =& $database;
}

#通用函数
include_once(_CONST_LOCAL_INCLUDE_PATH."common.php");



#cache lite
include_once(_CONST_LOCAL_INCLUDE_PATH.'Cache/Lite.php');
include_once(_CONST_LOCAL_INCLUDE_PATH.'Cache/Lite/Output.php');

$cache = new Cache_Lite_Output();

#用于meta的keywords标签
$keywords = "manga,read manga,manga online,magna scans,manga volume,manga chapter,online manga,read free manga,free manga,read free manga online,manga viewer,manga download,manga downloads,japanese comic";
#用于meta的Description标签
$description = "Read your favorite manga online! Hundreds of high-quality free manga for you, with a list being updated daily. Naruto manga, Bleach manga, One Piece manga, Air Gear manga, Claymore manga, Fairy Tail manga, Inuyasha manga, and many more...";
#用于mete的http-equiv标签
$referrer = "";
#用于meta的title标签
$title = "Manga Fox: Read Manga Online for Free!";
#用于获取针对本页的css样式
$css = array();
#用于获取针对本页的js
$js = array("slideshow");
#用于获取针对head的其他标签
$links = array('<link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds2.feedburner.com/mangafox/latest_manga_chapters"/>');
#用于控制那个主菜单为
$o = "home";

$ads = array();

$post_code =<<<HTML
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-556116-3']);
_gaq.push(['_setDomainName', '.mangafox.com']);
_gaq.push(['_trackPageview']);

(function() {
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  ga.src = ('https:' == document.location.protocol ? '  https://ssl' : '  http://www') + '.google-analytics.com/ga.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript">
_qoptions={qacct:"p-dd9FcP3j0Ujek"};
</script>
<script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>
<noscript>
<img src="http://pixel.quantserve.com/pixel/p-dd9FcP3j0Ujek.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>
</noscript>
HTML;

no_cache_header();

#header
include_once(_CONST_LOCAL_LAYOUT_PATH."_header.php");
?>
 
<?
//footer
include_once (_CONST_LOCAL_LAYOUT_PATH."_footer.php");
?>
